package org.mx.graphql;

import org.mx.service.server.config.ServerConfig;
import org.mx.spring.config.SpringConfig;
import org.mx.spring.utils.SpringBootUtils;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@SuppressWarnings("javadoc")
@PropertySource({
        "classpath:/org/mx/graphql/graphql.properties"
})
@Import({
        SpringConfig.class,
        ServerConfig.class
})
@ComponentScan({
        "org.mx.graphql.service"
})
public class GraphQLTester {
    public static void main(String[] args) {
        SpringBootUtils bootUtils = new SpringBootUtils();
        bootUtils.startApplication(GraphQLTester.class, args);
    }
}
